﻿using System.Data;
using MyWeb.Data;

namespace MyWeb.Business
{
	public class tb_PaymentService
	{
		private static readonly tb_PaymentDAL db = new tb_PaymentDAL();
		#region[tb_Payment_GetById]
		public static DataTable tb_Payment_GetById(tb_PaymentInfo Data)
		{
			return db.tb_Payment_GetById(Data);
		}
		#endregion
		#region[tb_Payment_GetByAll]
		public static DataTable tb_Payment_GetByAll()
		{
			return db.tb_Payment_GetByAll();
		}
		#endregion
		#region[tb_Payment_GetByTop]
		public static DataTable tb_Payment_GetByTop(string Top, string Where, string Order)
		{
			return db.tb_Payment_GetByTop(Top, Where, Order);}
		#endregion
		#region[tb_Payment_Insert]
		public static void tb_Payment_Insert(tb_PaymentInfo Data)
		{
			 db.tb_Payment_Insert(Data);
		}
		#endregion
		#region[tb_Payment_Update]
		public static void tb_Payment_Update(tb_PaymentInfo Data)
		{
			 db.tb_Payment_Update(Data);
		}
		#endregion
		#region[tb_Payment_Delete]
		public static void tb_Payment_Delete(string Data)
		{
			 db.tb_Payment_Delete(Data);
		}
		#endregion
		#region[tb_Payment_GetByServiceId]
		public static DataTable tb_Payment_GetByServiceId(string ServiceId)
		{
			 return db.tb_Payment_GetByServiceId(ServiceId);
		}
		#endregion
        #region[tb_PaymentService_GetByUName]
        public static DataTable tb_PaymentService_GetByUName(tb_PaymentInfo Data)
        {
          
			return db.tb_PaymentService_GetByUName(Data);
		
        }
        #endregion
    }
}